/*
 * Copyright 2011 Clean GWT
 * 
 * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
 * in compliance with the License. You may obtain a copy of the License at
 * 
 * http://www.apache.org/licenses/LICENSE-2.0
 * 
 * Unless required by applicable law or agreed to in writing, software distributed under the License
 * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
 * or implied. See the License for the specific language governing permissions and limitations under
 * the License.
 */
package com.cleangwt.bootstrap.client.style;

import com.google.gwt.user.client.ui.Widget;

/**
 * This class provides common styles.
 * 
 * @author Jess
 * @version 1.0
 * @since 1.0
 */
public class Styles {

  public static final String PULL_LEFT = "pull-left";
  public static final String PULL_RIGHT = "pull-right";
  public static final String CONTAINER = "container";
  public static final String WELL = "well";
  public static final String JUMBOTRON = "jumbotron";
  public static final String CARET = "caret";
  public static final String BADGE = "badge";
  public static final String CLOSE = "close";
  public static final String ICON_PREV = "icon-prev";
  public static final String ICON_NEXT = "icon-next";
  public static final String ICON_BAR = "icon-bar";
  public static final String THUMBNAIL = "thumbnail";

  // animation
  public static final String SLIDE = "slide";
  public static final String FADE = "fade";
  public static final String COLLAPSE = "collapse";
  public static final String IN = "in";
  // state
  public static final String SR_ONLY = "sr-only";
  public static final String OPEN = "open";
  public static final String ACTIVE = "active";
  public static final String DISABLED = "disabled";
  public static final String HIDE = "hide";
  public static final String SHOW = "show";

  public static Widget well(Widget w) {
    w.addStyleName(WELL);
    return w;
  }

  public static Widget thumbnail(Widget w) {
    w.addStyleName(THUMBNAIL);
    return w;
  }

}
